package com.tron.feignservice;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @description TODO
 * @auther TRON
 * @create 2020-02-27
 */
@Service
@FeignClient(name = "feign-four", fallback = FeignServiceFallBack.class)
public interface TronFeignService {

    @GetMapping("/test02")
    String test02(@RequestParam(value = "a") String a);
}
